<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>内边距设置实现慕课导航栏</title>
		<style>
			div {
				height: 65px;
				border-bottom: 1px solid #f3f5f6;
			}
			span {
				height: 65px;
				line-height: 65px;
				/* text-align: center; */
				border: 1px solid red;
				padding-left: 20px;
				padding-right:20px;
				font-size: 16px;
			}
			span:hover {
				cursor: pointer;
			}
		</style>
	</head>
	<body>
		<div>
			<span>慕课网首页</span>
			<span>免费课</span>
			<span>实战课</span>
			<span>体系课</span>
		</div>
	</body>
</html>